package xyz.thoughtset.viewer.common.ai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import xyz.thoughtset.viewer.common.core.entity.BaseMeta;
import xyz.thoughtset.viewer.common.crud.core.annotation.ApiCRUDPower;

import java.util.List;
import java.util.Map;

@TableName
@Data
@NoArgsConstructor
@ApiCRUDPower(insert = false,save = true,update = false,list = true)
public class AiNode extends BaseMeta {
    protected String provider = null;
    protected String baseUrl;
    protected String apiKey;
    protected String headersStr;
    protected String settingStr;

    @TableField(exist = false)
    protected transient Map settingMap;
    @TableField(exist = false)
    protected transient Map headerMap;
    @TableField(exist = false)
    protected transient List<ModelParam> defaultModelParams;


}
